{% extends "api/base.html" %} {% load static %} {% block ext_header %}
<style type="text/css">
    html,
    body {
        margin: 0px;
        height: 100%;
        overflow: hidden;
    }

    .bg {
        width: 100%;
        height: 100%;
        top: 0;
        z-index: -1;
        position: absolute;
    }

    .bg img {
        display: block;
        outline: none;
        border: 0;
        height: 100%;
        width: 100%;
    }
</style>
{% endblock %} {% block body_header %} {% endblock %} {% block content %}
<div class="bg">
    <img src="{{ object.image.url }}" class="img-fluid" alt="照片">
</div>
<div class="picture-caption">
    <h1>{{ object.subject }}</h1>
    <p>{{object.summary|safe}}<br> <span class="small" style="  background-color:unset;">——发布部门： {{object.department|default:"--"}} | 发布者：{{ object.author }} | 阅读{{ object.read_count }}次</span>
    </p>

</div>
{% endblock %}